package com.eapi.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eapi.project.model.entity.Invokerecord;
import com.eapi.project.model.vo.statistics.DateInvokeVO;
import com.eapi.project.model.vo.statistics.UserInvokeCount;

import java.util.List;

/**
* @author lenovo
* @description 针对表【invokerecord(点赞记录表)】的数据库操作Mapper
* @createDate 2024-04-24 18:54:06
* @Entity generator.domain.Invokerecord
*/
public interface InvokerecordMapper extends BaseMapper<Invokerecord> {
    public List<DateInvokeVO> dateStatistics();

    Long getTotalCost(Long userId);

    boolean insertInvoke(Invokerecord invokerecord);

    List<UserInvokeCount> getMostLikeInterface(Long userId);

}




